﻿using Anke.SHManage.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Anke.SHManage.Model.BasicEventInfo;

namespace Anke.SHManage.IDAL
{
    public interface IAlarmEventDAL
    {
       AlarmEventInfo GetAlarmEventInfoByCode(string code);
       object GetAlarmCalls(int page, int rows,ref int total, string eventCode, int OrderNumber);

       //保存事件信息修改，查看修改痕迹 2016-10-26
        bool UpdateEvent(string EventCode, string EvetnName, string Area, int EventSourceCode, int AccidentLevelCode, int AccidentTypeCode);
       string ModifyEvent(AlarmEventInfo info, string operatorCode);

       List<ModifyRecordInfo> GetEventCrackInfos(int pageIndex, int pageSize, ref int rowCount, string EventCode);
    }
}
